﻿<Window x:Class="Chameleon.Samples.Wpf.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <ComboBox Name="ProviderSelector" Margin="0,0,180,0" IsEditable="False" VerticalAlignment="Top" Height="26" DisplayMemberPath="Key" SelectedValuePath="Value" />
        <Button Name="DeleteButton" Margin="0" HorizontalAlignment="Right" VerticalAlignment="Top" Height="26" Width="55" Content="Delete" />
        <Button Name="UpdateButton" Margin="0,0,60,0" HorizontalAlignment="Right" VerticalAlignment="Top" Height="26" Width="55" Content="Update" />
        <Button Name="InsertButton" Margin="0,0,120,0" HorizontalAlignment="Right" VerticalAlignment="Top" Height="26" Width="55" Content="Insert" />
        <DataGrid Name="EntityGrid" Margin="0,30,0,0" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="False" AlternatingRowBackground="Transparent">
            <DataGrid.Columns>
                <DataGridTextColumn Header="Id" IsReadOnly="True" Binding="{Binding Path=Id}" />
                <DataGridTextColumn Header="Modified" IsReadOnly="True" Binding="{Binding Path=Modified, StringFormat='o'}" />
            </DataGrid.Columns>
        </DataGrid>
    </Grid>
</Window>
